package com.vanke.devops.dal.model;


import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;

import com.vanke.devops.dal.base.BaseModel;
import java.math.BigDecimal;
import java.util.Date;

import java.io.Serializable;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author 马子晋
 * @since 2018-08-07
 */
public class SystemInfo extends BaseModel {

	/**
	 * 系统名称
	 */
	private String name;
	/**
	 * 系统封面
	 */
	private Integer cover;
	/**
	 * 系统地址
	 */
	private String address;
	/**
	 * 系统类型(base:基础应用,service:业务应用,module:基础组件)
	 */
	private String type;
	/**
	 * 账号
	 */
	@TableField(value="login_id")
	private String loginId;
	/**
	 * 密码
	 */
	private String password;
	/**
	 * 是否公开管理员账号密码(0:不公开,1:公开)
	 */
	private Integer ispublic;


	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getCover() {
		return cover;
	}

	public void setCover(Integer cover) {
		this.cover = cover;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getLoginId() {
		return loginId;
	}

	public void setLoginId(String loginId) {
		this.loginId = loginId;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getIspublic() {
		return ispublic;
	}

	public void setIspublic(Integer ispublic) {
		this.ispublic = ispublic;
	}

	@Override
	protected Serializable pkVal() {
		return getId();
	}

}
